package com.liit.module.entity;

import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.NotNull;

public class Carousel implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 *
	 * @mbggenerated
	 */
	private Integer id;

	/**
	 * 轮播图标题
	 *
	 * @mbggenerated
	 */
	private String title;

	/**
	 * 轮播图描述
	 *
	 * @mbggenerated
	 */
	private String content;

	/**
	 * 文字颜色
	 */
	private String fontColor;

	/**
	 * 轮播图背景ID t_files.id
	 *
	 * @mbggenerated
	 */
	@NotNull(message = "背景图片不能为空")
	private Integer imgBg;

	/**
	 * 轮播图浮层ID t_files.id
	 *
	 * @mbggenerated
	 */
	private Integer imgLayer;

	/**
	 * 浮层链接
	 */
	private String layerLink;

	/**
	 * 轮播 图排序
	 */
	@NotNull(message = "排序值不能为空")
	private Integer sort;

	/**
	 * 创建时间
	 *
	 * @mbggenerated
	 */
	private Date createTime;

	/**
	 * 更新时间
	 *
	 * @mbggenerated
	 */
	private Date updateTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	public String getFontColor() {
		return fontColor;
	}

	public void setFontColor(String fontColor) {
		this.fontColor = fontColor;
	}

	public Integer getImgBg() {
		return imgBg;
	}

	public void setImgBg(Integer imgBg) {
		this.imgBg = imgBg;
	}

	public Integer getImgLayer() {
		return imgLayer;
	}

	public void setImgLayer(Integer imgLayer) {
		this.imgLayer = imgLayer;
	}

	public String getLayerLink() {
		return layerLink;
	}

	public void setLayerLink(String layerLink) {
		this.layerLink = layerLink;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}